projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59ffce7
)
lib/fetcher: Add cleanup function for OstreeFetcher
author
Philip Withnall
<withnall@endlessm.com>
Wed, 7 Jun 2017 14:41:17 +0000
(15:41 +0100)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Wed, 7 Jun 2017 16:55:36 +0000
(16:55 +0000)
This is only used internally (the header is not public), so it doesn’t
have to go in ostree-autocleanups.h. It will be used in some following
commits.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #911
Approved by: cgwalters
src/libostree/ostree-fetcher.h
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-fetcher.h
b/src/libostree/ostree-fetcher.h
index 16cf3d7d6a7cfaea07c233095198c855dbd6ed41..8ec5f209ad79f417568ff6f93b3364345b61a47a 100644
(file)
--- a/
src/libostree/ostree-fetcher.h
+++ b/
src/libostree/ostree-fetcher.h
@@
-46,6
+46,8
@@
struct OstreeFetcherClass
GObjectClass parent_class;
};
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeFetcher, g_object_unref)
+
typedef enum {
OSTREE_FETCHER_FLAGS_NONE = 0,
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0),